<?php
$mid = $_GET['to'] ? $_GET['to'] : "";
?>
<div class="title_mb_bg2 sendmsg">
    <ul>
        <?php if ($mid == "") { ?>
            <li>
                <div class="col_l"></div>
                <div class="col_r">Có thể gửi cho nhiều người cũng một lúc.
                </div>
            </li>
            <li>
                <div class="col_l">Người nhận:</div>
                <div class="col_r over_scroll height50">
                    <input type="text" id="receiver"  name="receiver" class="w325" />
                </div>
            </li>
            <?php
        } else {
            ?>
            <li style="display: none">
                <input  value="<?php echo $mid; ?>" type="text" id="receiver"  name="receiver" class="w325" />
            </li>
            <?php
        }
        ?>
        <li>
            <div class="col_l">Tiêu đề:</div>
            <div class="col_r">

                <input type="text" id="title" value="" class="w325"/>
            </div>
        </li>
        <li>
            <div class="col_l">Nội dung:</div>
            <div class="col_r">
                <textarea id="message" rows="6" class="w325"></textarea>
            </div>
        </li>

    </ul>
    <div class="button_bottom">
        <div class="btn-left-02"><input type="button" class="btnBlogComment left" value="Gửi" name="btnSendMail" id="btnSendMail"></div>
        <div class="btn-left-07"><input type="button" class="left button margintop8" value="Hủy bỏ" onclick="window.parent.Lightbox.hide();"></div>
        <img src="/images/loading_small.gif" style="display:none" class="loading">
        <div class="clear"></div>
    </div>

    <div class="error" id="message_alert">Bạn nhập email không đúng</div>

</div>

<script src="/js/send-mail.js" type="text/javascript"></script>

